<HTML>
<HEAD>
<meta charset="UTF-8">
<title>CardBrand.defaultMaxLength - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">CardBrand</a>&nbsp;/&nbsp;<a href="./default-max-length.html">defaultMaxLength</a><br/>
<br/>
<h1>defaultMaxLength</h1>
<a name="com.stripe.android.model.CardBrand$defaultMaxLength"></a>
<code><span class="keyword">val </span><span class="identifier">defaultMaxLength</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code>
<p>The default max length when the card number is formatted without spaces (e.g. "4242424242424242")</p>
<p>Note that <a href="-diners-club.html">CardBrand.DinersClub</a>'s max length depends on the BIN (e.g. card number prefix).
In the case of a <a href="-diners-club.html">CardBrand.DinersClub</a> card, use <a href="get-max-length-for-card-number.html">getMaxLengthForCardNumber</a>.</p>
</BODY>
</HTML>
